package com.ruoyi.supplier.mapper;

import java.util.List;
import com.ruoyi.supplier.domain.TbBankIncome;

/**
 * 进账类别Mapper接口
 * 
 * @author oliver.li
 * @date 2021-08-14
 */
public interface TbBankIncomeMapper 
{
    /**
     * 查询进账类别
     * 
     * @param id 进账类别ID
     * @return 进账类别
     */
    public TbBankIncome selectTbBankIncomeById(Long id);

    /**
     * 查询进账类别列表
     * 
     * @param tbBankIncome 进账类别
     * @return 进账类别集合
     */
    public List<TbBankIncome> selectTbBankIncomeList(TbBankIncome tbBankIncome);

    /**
     * 新增进账类别
     * 
     * @param tbBankIncome 进账类别
     * @return 结果
     */
    public int insertTbBankIncome(TbBankIncome tbBankIncome);

    /**
     * 修改进账类别
     * 
     * @param tbBankIncome 进账类别
     * @return 结果
     */
    public int updateTbBankIncome(TbBankIncome tbBankIncome);

    /**
     * 删除进账类别
     * 
     * @param id 进账类别ID
     * @return 结果
     */
    public int deleteTbBankIncomeById(Long id);

    /**
     * 批量删除进账类别
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTbBankIncomeByIds(Long[] ids);
}
